package com.ruoyi.wsy.service.impl;

import com.ruoyi.wsy.domain.Withdrawal;
import com.ruoyi.wsy.mapper.WithdrawalMapper;
import com.ruoyi.wsy.service.WithdrawalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName WithdrawalServiceImpl
 * @Description TODO
 * @Author wangshuyu
 * @Date 2025年11月13日 20:03
 * @Version 1.0
 */
@Service
public class WithdrawalServiceImpl implements WithdrawalService {

    @Autowired
    private WithdrawalMapper withdrawalMapper;

    @Override
    public List<Withdrawal> getList(Integer mId) {
        return withdrawalMapper.getList(mId);
    }

    @Override
    public int insert(Withdrawal withdrawal) {
        return withdrawalMapper.insert(withdrawal);
    }
}
